#ifndef _H_BUTTON
#define _H_BUTTON

#include "abstractButton.h"
#include "font.h"
#include "textDisplay.h"

class button: public abstractButton{
    protected:
        textDisplay label;
        RECT margin;

    public:
        button();
        button(window*);

        void setLabel(string);
        string getLabel();

        virtual void setMargin(int=2,int=2,int=2,int=2);

        virtual color* bkgColFromSS(elTy);
        virtual color* txtColFromSS(elTy);

        void setFont(font*);

        virtual void display();

};

#endif
